diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-10 21:51:10 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-10 21:52:26 -0400 |
| commit | 215b0c5cb2ff0ef0b2c7b5549704e23d651a4df9 (patch) | |
| tree | 356484ce699539f2937b768d1a1c9b83f0c7a402 /ui/src/routes/(app)/ch/[channel]/+page.svelte | |
| parent | 4401dce2b5545ce8117818812d8e3c8919f5f7fd (diff) | |
Hoist the UI one step up further
Diffstat (limited to 'ui/src/routes/(app)/ch/[channel]/+page.svelte')
| -rw-r--r-- | ui/src/routes/(app)/ch/[channel]/+page.svelte | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ui/src/routes/(app)/ch/[channel]/+page.svelte b/ui/src/routes/(app)/ch/[channel]/+page.svelte deleted file mode 100644 index ef439d0..0000000 --- a/ui/src/routes/(app)/ch/[channel]/+page.svelte +++ /dev/null @@ -1,17 +0,0 @@ -<script> - import { afterNavigate } from '$app/navigation'; - import { page } from '$app/stores'; - - import { activeChannel } from '$lib/store'; - import ActiveChannel from '$lib/components/ActiveChannel.svelte'; - - afterNavigate(async () => { - let { channel } = $page.params; - activeChannel.update((value) => { - value.set(channel) - return value; - }); - }); -</script> - -<ActiveChannel /> |
